<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">
<header th:fragment="headinc">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

    <!-- Bootstrap -->
    <link href="/css/bootstrap.min.css?v=4" rel="stylesheet">
    <link href="/css/tooltipster/tooltipster.css?v=4" rel="stylesheet">
    <link href="/js/jquery-ui/jquery-ui.min.css?v=4" rel="stylesheet">
    <link href="/css/app.css?v=8" rel="stylesheet">
    <script type="text/javascript" src="/js/jquery.js?v=4"></script>
    <script type="text/javascript" src="/js/bower_components/lodash/dist/lodash.min.js?v=4"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="/js/facebox/facebox.js"></script>
    <link href="/js/facebox/facebox.css" rel="stylesheet">
    <script src="/js/app.js"></script>
</header>

<body>
    <div th:if="${false}" class="" th:fragment="profile">
        <header class="header-top" style="min-width:1208px;">
            <div class="container">

                <ul class="action-right pull-right">
                    <li>
                        <div class="dropdown">
                            <div class="dropdown-toggle login-info" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                                <img class="icon" src="/img/avatar.png" width="20px;" alt="" />
                                <a id="currentuser" href="javascript:;" th:text="(${user})?${user.username}:'hehe'"></a>，您好
                                <span class="caret"></span>
                            </div>
                            <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                                <li class="menu-item setting"><a th:href="@{'/'}">主页</a></li>
                                <li class="menu-item logout" style="border-bottom:0"><a href="/logout">退出</a></li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>
        </header>
        <!--/.nav-collapse -->
    </div>

    <div class="" th:fragment="guestprofile">
        <header class="header-top" style="min-width:1208px;">
            <div class="container">
                <ul class="action-right pull-right">
                    <li><a href="/login" class="btn btn-info login-btn">登录</a></li>
                    <li><a href="/user/register" class="btn btn-default register-btn">注册</a></li>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </header>
    </div>

    <div class="" th:fragment="header">
        <header class="header">
            <div class="container">

                <div class="row" style="width:1210px !important">
                    <div class="col-md-3">
                        <div class="logo">
                            <a href="javascript:;">
                                <img src="/img/logo.gif" alt="" />
                            </a>
                        </div>
                    </div>
                    <div class="col-md-3">
                        <div class="call-400">
                            <table width="210px;" style="height: 63px;" align="right">
                                <tr>
                                    <td style="vertical-align: top;width: 45px">
                                        <img src="/img/logo.gif" alt="" style="width:42px;" />
                                    </td>
                                    <td style="text-align: justify">
                                        <div class="tel-400">4008-733-018</div>
                                        <div class="tel-time">免费咨询热线 9:00-18:00</div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </header>
    </div>

</body>

</html>
